メインコンテンツへスキップ

All Posts

News bits

Cloudflare Workers BuildsがEvent Subscriptionsによるビルド通知に対応

Cloudflare Workers BuildsがQueuesへのイベント発行に対応し、Event Subscriptionsを利用してビルドの開始、成功、失敗、キャンセル時の通知を受け取れるようになった。 Queueからメッセージを読み取るWorkerを作成することで、Slack、Discord、Email、Webhookなど任意の宛先に通知を送信可能。

CloudflareはSlack通知用のテンプレートを提供しており、以下の機能を含む。

  • 成功したデプロイのPreview/Live URLを含むビルドステータス表示
  • 失敗したビルドのインラインエラーメッセージ
  • ブランチ、コミットハッシュ、作者名の表示

利用にはworkers-builds-notifications-templateなどを自身のCloudflareアカウントにデプロイする。

出展:Get notified when your Workers builds succeed or fail · Changelog

著者について

Hi there. I'm hrdtbs, a frontend expert and technical consultant. I started my career in the creative industry over 13 years ago, learning on the job as a 3DCG modeler and game engineer in the indie scene.

In 2015 I began working as a freelance web designer and engineer. I handled everything from design and development to operation and advertising, delivering comprehensive solutions for various clients.

In 2016 I joined Wemotion as CTO, where I built the engineering team from the ground up and led the development of core web and mobile applications for three years.

In 2019 I joined matsuri technologies as a Frontend Expert, and in 2020 I also began serving as a technical manager supporting streamers and content creators.

I'm so grateful to be working in this field, doing something that brings me so much joy. Thanks for stopping by.